package com.ruoyi.eqmonitor.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.eqmonitor.domain.OptSewageRenovate;
import com.ruoyi.eqmonitor.service.OptSewageRenovateService;
import com.ruoyi.eqmonitor.mapper.OptSewageRenovateMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author YR
* @description 针对表【opt_sewage_renovate(镇街道排污（水）口整治情况)】的数据库操作Service实现
* @createDate 2023-01-06 11:26:02
*/
@Service
public class OptSewageRenovateServiceImpl extends ServiceImpl<OptSewageRenovateMapper, OptSewageRenovate>
    implements OptSewageRenovateService{

    @Autowired
    private OptSewageRenovateMapper optSewageRenovateMapper;

    @Override
    public List<OptSewageRenovate> myGetAll() {
        return optSewageRenovateMapper.myGetAll();
    }

    @Override
    public OptSewageRenovate selectOptSewageRenovateById(Long id){
        return optSewageRenovateMapper.selectOptSewageRenovateById(id);
    }

    @Override
    public List<OptSewageRenovate> selectOptSewageRenovateList(OptSewageRenovate optSewageRenovate){
        return optSewageRenovateMapper.selectOptSewageRenovateList(optSewageRenovate);
    }
}




